package client

type Client struct {
	ClientId  string   `bson:"_id,omitempty"`
	Name      string   `bson:"Name,omitempty"`
	Password  string   `bson:"Password,omitempty"`
	Authority []string `bson:"Authority,omitempty"`
}

type Clients struct {
	Data  []Client
	Total int64
}

type ClientMenu struct {
	Path               string       `json:"path,omitempty"`
	Name               string       `json:"name,omitempty"`
	Component          string       `json:"component,omitempty"`
	Redirect           string       `json:"redirect,omitempty"`
	Icon               string       `json:"icon,omitempty"`
	Locale             string       `json:"locale,omitempty"`
	Authority          []string     `json:"authority,omitempty"`
	HideChildrenInMenu bool         `json:"hideChildrenInMenu,omitempty"`
	HideInMenu         bool         `json:"hideInMenu,omitempty"`
	Children           []ClientMenu `json:"children,omitempty"`
}
